package co.edu.poli.ficb.agl.automatable.gui;

import java.awt.Shape;

import org.apache.commons.collections15.Transformer;

import co.edu.poli.ficb.agl.automatable.graph.Arista;
import co.edu.poli.ficb.agl.automatable.graph.Vertice;
import edu.uci.ics.jung.graph.Graph;
import edu.uci.ics.jung.graph.util.Context;
import edu.uci.ics.jung.visualization.util.ArrowFactory;

public class PA2EdgeArrowTransformer implements
		Transformer<Context<Graph<Vertice, Arista>, Arista>, Shape> {

	// protected Shape undirectedArrow = ArrowFactory.getWedgeArrow(10, 8);
	protected Shape undirectedArrow = ArrowFactory.getWedgeArrow(10, 8);

	@Override
	public Shape transform(Context<Graph<Vertice, Arista>, Arista> context) {
		return undirectedArrow;
	}
}
